package global

const (
	SUCCESS = 200
	ERROR   = 500
)

type RespData struct {
	code int32
	msg  string
	data interface{}
}

func NewRespData(code0 int32, msg0 string, data0 interface{}) RespData {
	return RespData{
		code: code0,
		msg:  msg0,
		data: data0,
	}
}
